 
package com.zdkj.subway.st.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zdkj.subway.st.dto.in.SwStPlanYearDTO;
import com.zdkj.subway.st.entity.SwStPlanYear;

public interface SwStPlanYearService extends IService<SwStPlanYear> {

    /**
     * 保存年度计划及关联月度计划
     * @param swStPlanYearDTO
     * @return
     */
    boolean saveWithMonthPlan(SwStPlanYearDTO swStPlanYearDTO);

    /**
     * 修改年度计划
     * @param swStPlanYearDTO
     * @return
     */
    boolean updateWithMonthPlan(SwStPlanYearDTO swStPlanYearDTO);

    /**
     * 年度计划审核
     * @param swStPlanYear
     * @return
     */
    boolean audit(SwStPlanYear swStPlanYear);
}
